{:W('Template/top')}
<div class="wrapper clearfix content" style="border: 1px solid #ddd">
    {:W('Template/left')}
    <div class="rightbox pull-right">
        <div class="ur-here">您当前的位置：<a href=''>财务管理</a>&gt;提现记录</div>
        <div class="cTitle2">提现记录</div>
        <empty name="info">
            <table class="cTable" width="100%">
                <tr>
                    <th>{$msg}</th>
                </tr>
            </table>
        </empty>
        <notempty name="info">
            <div class="main-search">
                <div class="top">
                    <form method="get" action="{:U('ProviderFinance/withdrawInfo',array('id'=>I('get.id')))}" class="form-inline">
                        <div class="form-group">
                            <label>时间：</label>
                            <input type="text" class="form-control ui-datepicker Wdate" name="start_time"
                                   value="{$startTime}" id="d4322" onclick="WdatePicker({el: $dp.$('d12')})"
                                   style="width:80%">
                        </div>
                        <span class="end">到</span>

                        <div class="form-group">
                            <label class="sr-only"></label>
                            <input type="text" class="form-control ui-datepicker Wdate" name="end_time"
                                   value="{$endTime}" id="d4322" onclick="WdatePicker({el: $dp.$('d12')})">
                        </div>
                        <button type="submit" class="btn btn-warning">查询</button>
                    </form>
                </div>
            </div>
            <table class="cTable table-hover" width="100%">
                <tr>
                    <th width="6%">编号</th>
                    <th>申请时间</th>
                    <th>提现金额</th>
                    <th>提现帐户</th>
                    <th>审核时间</th>
                    <th>状态</th>
                </tr>
                <volist name="info" id="vo">
                    <tr>
                        <td>{$vo.id}</td>
                        <td>{$vo.create_time}</td>
                        <td id="money-right" class="text-c1">{$vo.amount|GetYuan}</td>
                        <td>{$vo.bank_name}<br/>
                            账号: {$vo.bank_account}
                        </td>
                        <td>{$vo.update_time}</td>
                        <td class="text-c5">
                            <if condition="$vo.state eq 1"><span style="color:saddlebrown">待审核</span>
                                <elseif condition="$vo.state eq 2"/>
                                <span style="color:blue">已确认，待财务处理</span>
                                <elseif condition="$vo.state eq 4"/>
                                <span style="color:green">处理完成</span>
                                <else/>
                                <a href="javascript:void(0)" data-toggle="tooltip" data-placement="top" title="{$vo.memo}" style="text-decoration: none;color: red">拒绝</a>
                            </if>
                        </td>

                    </tr>
                </volist>
            </table>
        </notempty>
        <notempty name="info">
            <div class="pagebox">
                {$page}
            </div>
        </notempty>
    </div>
</div>
<div class="theme-popover">
    <div class="theme-poptit">
        <a title="关闭" class="closes">&times;</a>

        <div class="modal-header">
            <h4 class="modal-title" id="myModalLabel" style="text-align: left"></h4>
        </div>
        <div class="modal-body" id="modalB">
            <textarea class="form-control" name="reason" style="resize: none;"></textarea>
        </div>
        <div class="modal-footer pull-right">
            <button type="button" class="btn btn-default " id="reset">取消</button>
        </div>
    </div>
</div>
<div class="theme-popover-mask"></div>
{:W('Template/bottom')}
<script>
    $(function () {
        $("[data-toggle='tooltip']").tooltip();
    });
</script>
</body>
</html>
